home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HILists.xh
< prev
next >
Wrap
Text File
|
1996-05-01
|
174KB
|
5,743 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HILists.xh.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emitxh.dll: 2.33
*/
#ifndef SOM_HIAbstractList_xh
#define SOM_HIAbstractList_xh
class HIAbstractList;
#define HIAbstractList_MajorVersion 0
#define HIAbstractList_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <HIImagingObjects.xh>
#include <HIListTypes.h>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIPanel_xh
#include <HIPanels.xh>
#endif
#ifndef HIAbstractList_API
#define HIAbstractList_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
class SOMClass;
class SOMObject;
class HIWindow;
class HIEmbeddingPanel;
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIAbstractListCClassData HIAbstractListClassData
#define HIAbstractListNewClass(major,minor) somNewVersionedClassReference(HIAbstractList,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIAbstractListMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIAbstractList class object, and the methods it introduces. */
SOMEXTERN struct HIAbstractListClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitAbstractList;
somMToken AddItems;
somMToken DeleteItem;
somMToken SetItemImage;
somMToken GetItemImage;
somMToken SetItemMark;
somMToken GetItemMark;
somMToken SetItemIcon;
somMToken GetItemIcon;
somMToken SetItemChild;
somMToken GetItemChild;
somMToken SetItemEnabledState;
somMToken GetItemEnabledState;
somMToken SetItemAttributes;
somMToken GetItemAttributes;
somMToken SetItemRefLabel;
somMToken GetItemRefLabel;
somMToken GetItemCount;
somMToken GetItemRect;
somMToken HitTest;
somMToken SelectItem;
somMToken DeselectItem;
somMToken GetSelectedItem;
somMToken AddItemCollectionItem;
somMToken GetItemCollectionItemData;
somMToken RemoveItemCollectionItem;
somMToken reserved0;
} SOMDLINK HIAbstractListClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIAbstractList_Class_Source) && !defined(SOM_Module_hilists_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIAbstractListClassData
#endif
#endif
/*
* -- Typedefs for HIAbstractList Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIAbstractList_InitAbstractList)(HIAbstractList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_AddItems)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
UInt32 numItems);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_DeleteItem)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetItemImage)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetItemImage)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetItemMark)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
UInt16 markChar);
typedef UInt16 (* SOMLINK somTD_HIAbstractList_GetItemMark)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetItemIcon)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
Handle iconSuite);
typedef Handle (* SOMLINK somTD_HIAbstractList_GetItemIcon)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetItemChild)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList* child);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetItemChild)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList** child);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetItemEnabledState)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
HIItemState enableState);
typedef HIItemState (* SOMLINK somTD_HIAbstractList_GetItemEnabledState)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetItemAttributes)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
HIItemAttributes attributes);
typedef HIItemAttributes (* SOMLINK somTD_HIAbstractList_GetItemAttributes)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetItemRefLabel)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetItemRefLabel)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef UInt32 (* SOMLINK somTD_HIAbstractList_GetItemCount)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_SelectItem)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index);
typedef void (* SOMLINK somTD_HIAbstractList_DeselectItem)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index);
typedef HIItemIndex (* SOMLINK somTD_HIAbstractList_GetSelectedItem)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_AddItemCollectionItem)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetItemCollectionItemData)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_RemoveItemCollectionItem)(HIAbstractList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag);
/*
* -- Typedefs for Inherited Methods
*/
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIAbstractList_GetEmbeddingParent)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_InitPanel)(HIAbstractList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_RegisterInterestInAppleEvent)(HIAbstractList *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIAbstractList_HasValidContent)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetDeepCollectionItemData)(HIAbstractList *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIAbstractList_GetWindow)(HIAbstractList *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIAbstractList_GetPort)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_GetRefLabel)(HIAbstractList *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIAbstractList_GetCollection)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_Init)(HIAbstractList *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIAbstractList_Terminate)(HIAbstractList *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIAbstractList_Clone)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Release)(HIAbstractList *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIAbstractList_GetOwnerCount)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_InitFromAERecord)(HIAbstractList *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_WriteToAERecord)(HIAbstractList *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIAbstractList_CalculateOptimalSize)(HIAbstractList *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIAbstractList_GetBoundingRect)(HIAbstractList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIAbstractList_SetBoundingRect)(HIAbstractList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIAbstractList_SetPosition)(HIAbstractList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIAbstractList_SetSize)(HIAbstractList *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIAbstractList_GetUpdateRect)(HIAbstractList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIAbstractList_Enable)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Disable)(HIAbstractList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAbstractList_IsEnabled)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Show)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Hide)(HIAbstractList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAbstractList_IsVisible)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleAppleEvent)(HIAbstractList *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleActivate)(HIAbstractList *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleDeactivate)(HIAbstractList *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleNavigation)(HIAbstractList *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleMouseDownInContent)(HIAbstractList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleMouseMovedInContent)(HIAbstractList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleMouseStoppedMovingInContent)(HIAbstractList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_HandleMouseUpInContent)(HIAbstractList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIAbstractList_TakeUserInputFocus)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_ReleaseUserInputFocus)(HIAbstractList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAbstractList_HasUserInputFocus)(HIAbstractList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAbstractList_CanReleaseUserInputFocus)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_SetUserInputFocusFlags)(HIAbstractList *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIAbstractList_GetUserInputFocusFlags)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_SetTitle)(HIAbstractList *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetTitle)(HIAbstractList *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIAbstractList_Draw)(HIAbstractList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIAbstractList_Erase)(HIAbstractList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIAbstractList_Invalidate)(HIAbstractList *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIAbstractList_GetDrawingMode)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_SetDrawingMode)(HIAbstractList *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIAbstractList_SetBackgroundPattern)(HIAbstractList *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIAbstractList_GetBackgroundPattern)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Cut)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Copy)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Paste)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_Clear)(HIAbstractList *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIAbstractList_GetClipboardSupportFlags)(HIAbstractList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_AddStateChangeCallback)(HIAbstractList *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_RemoveStateChangeCallback)(HIAbstractList *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIAbstractList_DrawContent)(HIAbstractList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIAbstractList_EraseContent)(HIAbstractList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIAbstractList_TranslatePoint)(HIAbstractList *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIAbstractList_TranslateRect)(HIAbstractList *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIAbstractList_StateChanged)(HIAbstractList *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIAbstractList_SetClipboardSupportFlags)(HIAbstractList *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIAbstractList_Verify)(HIAbstractList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAbstractList_somInit)(HIAbstractList *somSelf);
typedef void (* SOMLINK somTD_HIAbstractList_somUninit)(HIAbstractList *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIAbstractList_somDuplicateReference)(HIAbstractList *somSelf);
typedef boolean (* SOMLINK somTD_HIAbstractList_somCompareReference)(HIAbstractList *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIAbstractList_somRelease)(HIAbstractList *somSelf);
typedef void (* SOMLINK somTD_HIAbstractList_somFree)(HIAbstractList *somSelf);
typedef boolean (* SOMLINK somTD_HIAbstractList_somCanDelete)(HIAbstractList *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIAbstractList_somGetClass)(HIAbstractList *somSelf);
typedef corbastring (* SOMLINK somTD_HIAbstractList_somGetClassName)(HIAbstractList *somSelf);
typedef long (* SOMLINK somTD_HIAbstractList_somGetSize)(HIAbstractList *somSelf);
typedef boolean (* SOMLINK somTD_HIAbstractList_somIsA)(HIAbstractList *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIAbstractList_somRespondsTo)(HIAbstractList *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIAbstractList_somIsInstanceOf)(HIAbstractList *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIAbstractList_somDispatch)(HIAbstractList *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIAbstractList_somClassDispatch)(HIAbstractList *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIAbstractList_somCastObj)(HIAbstractList *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIAbstractList_somResetObj)(HIAbstractList *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIAbstractList_somPrintSelf)(HIAbstractList *somSelf);
typedef void (* SOMLINK somTD_HIAbstractList_somDumpSelf)(HIAbstractList *somSelf,
long level);
typedef void (* SOMLINK somTD_HIAbstractList_somDumpSelfInt)(HIAbstractList *somSelf,
long level);
}
#endif /* HIAbstractList_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIAbstractList
*/
class HIAbstractList : public HIPanel
{
public:
// HIAbstractList::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIAbstractList, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIAbstractList);
}
// HIAbstractList::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitAbstractList */
OSStatus InitAbstractList(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,InitAbstractList)
(this,ev,identifier,window,bounds);
}
/* method: AddItems */
OSStatus AddItems(Environment *ev,
HIItemIndex index,
UInt32 numItems)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,AddItems)
(this,ev,index,numItems);
}
/* method: DeleteItem */
OSStatus DeleteItem(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,DeleteItem)
(this,ev,index);
}
/* method: SetItemImage */
OSStatus SetItemImage(Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,SetItemImage)
(this,ev,index,imageRef,imageAdoptionFlags);
}
/* method: GetItemImage */
OSStatus GetItemImage(Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemImage)
(this,ev,index,imageRefPtr);
}
/* method: SetItemMark */
OSStatus SetItemMark(Environment *ev,
HIItemIndex index,
UInt16 markChar)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,SetItemMark)
(this,ev,index,markChar);
}
/* method: GetItemMark */
UInt16 GetItemMark(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemMark)
(this,ev,index);
}
/* method: SetItemIcon */
OSStatus SetItemIcon(Environment *ev,
HIItemIndex index,
Handle iconSuite)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,SetItemIcon)
(this,ev,index,iconSuite);
}
/* method: GetItemIcon */
Handle GetItemIcon(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemIcon)
(this,ev,index);
}
/* method: SetItemChild */
OSStatus SetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList* child)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,SetItemChild)
(this,ev,index,child);
}
/* method: GetItemChild */
OSStatus GetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList** child)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemChild)
(this,ev,index,child);
}
/* method: SetItemEnabledState */
OSStatus SetItemEnabledState(Environment *ev,
HIItemIndex index,
HIItemState enableState)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,SetItemEnabledState)
(this,ev,index,enableState);
}
/* method: GetItemEnabledState */
HIItemState GetItemEnabledState(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemEnabledState)
(this,ev,index);
}
/* method: SetItemAttributes */
OSStatus SetItemAttributes(Environment *ev,
HIItemIndex index,
HIItemAttributes attributes)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,SetItemAttributes)
(this,ev,index,attributes);
}
/* method: GetItemAttributes */
HIItemAttributes GetItemAttributes(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemAttributes)
(this,ev,index);
}
/* method: SetItemRefLabel */
OSStatus SetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,SetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemRefLabel */
OSStatus GetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemCount */
UInt32 GetItemCount(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemCount)
(this,ev);
}
/* method: SelectItem */
void SelectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIAbstractList,HIAbstractList,SelectItem)
(this,ev,index);
}
/* method: DeselectItem */
void DeselectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIAbstractList,HIAbstractList,DeselectItem)
(this,ev,index);
}
/* method: GetSelectedItem */
HIItemIndex GetSelectedItem(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetSelectedItem)
(this,ev);
}
/* method: AddItemCollectionItem */
OSStatus AddItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,AddItemCollectionItem)
(this,ev,index,tag,dataSize,data);
}
/* method: GetItemCollectionItemData */
OSStatus GetItemCollectionItemData(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,GetItemCollectionItemData)
(this,ev,index,tag,dataSizeIn,dataSizeOut,data);
}
/* method: RemoveItemCollectionItem */
OSStatus RemoveItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag)
{
return SOM_ResolveD(this,HIAbstractList,HIAbstractList,RemoveItemCollectionItem)
(this,ev,index,tag);
}
/*
* -- Inherited methods
*/
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIAbstractList,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIAbstractList,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIAbstractList,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIAbstractList,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIAbstractList,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIAbstractList,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIAbstractList,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIAbstractList,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIAbstractList,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIAbstractList,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIAbstractList,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIAbstractList,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIAbstractList,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIAbstractList,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIAbstractList_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIAbstractList_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIAbstractList_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIAbstractList,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIAbstractList,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIAbstractList,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIAbstractList,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIAbstractList,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIAbstractList,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIAbstractList,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIAbstractList,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIAbstractList,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIAbstractList,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIAbstractList_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIAbstractList,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIAbstractList_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIAbstractList,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIAbstractList,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIAbstractList,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIAbstractList,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIAbstractList */
#endif /* SOM_HIAbstractList_xh */
#ifndef SOM_HIList_xh
#define SOM_HIList_xh
class HIList;
#define HIList_MajorVersion 0
#define HIList_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <HIItemStorage.xh>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIAbstractList_xh
#include <HILists.xh>
#endif
#ifndef HIList_API
#define HIList_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIListCClassData HIListClassData
#define HIListNewClass(major,minor) somNewVersionedClassReference(HIList,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIListMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIList class object, and the methods it introduces. */
SOMEXTERN struct HIListClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitList;
} SOMDLINK HIListClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIList_Class_Source) && !defined(SOM_Module_hilists_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIListClassData
#endif
#endif
/*
* -- Typedefs for HIList Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIList_InitList)(HIList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage);
/*
* -- Typedefs for Inherited Methods
*/
typedef OSStatus (* SOMLINK somTD_HIList_InitAbstractList)(HIList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIList_AddItems)(HIList *somSelf, Environment *ev,
HIItemIndex index,
UInt32 numItems);
typedef OSStatus (* SOMLINK somTD_HIList_DeleteItem)(HIList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIList_SetItemImage)(HIList *somSelf, Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIList_GetItemImage)(HIList *somSelf, Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr);
typedef OSStatus (* SOMLINK somTD_HIList_SetItemMark)(HIList *somSelf, Environment *ev,
HIItemIndex index,
UInt16 markChar);
typedef UInt16 (* SOMLINK somTD_HIList_GetItemMark)(HIList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIList_SetItemIcon)(HIList *somSelf, Environment *ev,
HIItemIndex index,
Handle iconSuite);
typedef Handle (* SOMLINK somTD_HIList_GetItemIcon)(HIList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIList_SetItemChild)(HIList *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList* child);
typedef OSStatus (* SOMLINK somTD_HIList_GetItemChild)(HIList *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList** child);
typedef OSStatus (* SOMLINK somTD_HIList_SetItemEnabledState)(HIList *somSelf, Environment *ev,
HIItemIndex index,
HIItemState enableState);
typedef HIItemState (* SOMLINK somTD_HIList_GetItemEnabledState)(HIList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIList_SetItemAttributes)(HIList *somSelf, Environment *ev,
HIItemIndex index,
HIItemAttributes attributes);
typedef HIItemAttributes (* SOMLINK somTD_HIList_GetItemAttributes)(HIList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIList_SetItemRefLabel)(HIList *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef OSStatus (* SOMLINK somTD_HIList_GetItemRefLabel)(HIList *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef UInt32 (* SOMLINK somTD_HIList_GetItemCount)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_SelectItem)(HIList *somSelf, Environment *ev,
HIItemIndex index);
typedef void (* SOMLINK somTD_HIList_DeselectItem)(HIList *somSelf, Environment *ev,
HIItemIndex index);
typedef HIItemIndex (* SOMLINK somTD_HIList_GetSelectedItem)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_AddItemCollectionItem)(HIList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data);
typedef OSStatus (* SOMLINK somTD_HIList_GetItemCollectionItemData)(HIList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data);
typedef OSStatus (* SOMLINK somTD_HIList_RemoveItemCollectionItem)(HIList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag);
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIList_GetEmbeddingParent)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_InitPanel)(HIList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIList_RegisterInterestInAppleEvent)(HIList *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIList_HasValidContent)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_GetDeepCollectionItemData)(HIList *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIList_GetWindow)(HIList *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIList_GetPort)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_GetRefLabel)(HIList *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIList_GetCollection)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_Init)(HIList *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIList_Terminate)(HIList *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIList_Clone)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Release)(HIList *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIList_GetOwnerCount)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_InitFromAERecord)(HIList *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIList_WriteToAERecord)(HIList *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIList_CalculateOptimalSize)(HIList *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIList_GetBoundingRect)(HIList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIList_SetBoundingRect)(HIList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIList_SetPosition)(HIList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIList_SetSize)(HIList *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIList_GetUpdateRect)(HIList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIList_Enable)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Disable)(HIList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIList_IsEnabled)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Show)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Hide)(HIList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIList_IsVisible)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_HandleAppleEvent)(HIList *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIList_HandleActivate)(HIList *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIList_HandleDeactivate)(HIList *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIList_HandleNavigation)(HIList *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIList_HandleMouseDownInContent)(HIList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIList_HandleMouseMovedInContent)(HIList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIList_HandleMouseStoppedMovingInContent)(HIList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIList_HandleMouseUpInContent)(HIList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIList_TakeUserInputFocus)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_ReleaseUserInputFocus)(HIList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIList_HasUserInputFocus)(HIList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIList_CanReleaseUserInputFocus)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_SetUserInputFocusFlags)(HIList *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIList_GetUserInputFocusFlags)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_SetTitle)(HIList *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIList_GetTitle)(HIList *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIList_Draw)(HIList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIList_Erase)(HIList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIList_Invalidate)(HIList *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIList_GetDrawingMode)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_SetDrawingMode)(HIList *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIList_SetBackgroundPattern)(HIList *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIList_GetBackgroundPattern)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Cut)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Copy)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Paste)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_Clear)(HIList *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIList_GetClipboardSupportFlags)(HIList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIList_AddStateChangeCallback)(HIList *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIList_RemoveStateChangeCallback)(HIList *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIList_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIList_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIList_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIList_DrawContent)(HIList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIList_EraseContent)(HIList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIList_TranslatePoint)(HIList *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIList_TranslateRect)(HIList *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIList_StateChanged)(HIList *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIList_SetClipboardSupportFlags)(HIList *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIList_Verify)(HIList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIList_somInit)(HIList *somSelf);
typedef void (* SOMLINK somTD_HIList_somUninit)(HIList *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIList_somDuplicateReference)(HIList *somSelf);
typedef boolean (* SOMLINK somTD_HIList_somCompareReference)(HIList *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIList_somRelease)(HIList *somSelf);
typedef void (* SOMLINK somTD_HIList_somFree)(HIList *somSelf);
typedef boolean (* SOMLINK somTD_HIList_somCanDelete)(HIList *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIList_somGetClass)(HIList *somSelf);
typedef corbastring (* SOMLINK somTD_HIList_somGetClassName)(HIList *somSelf);
typedef long (* SOMLINK somTD_HIList_somGetSize)(HIList *somSelf);
typedef boolean (* SOMLINK somTD_HIList_somIsA)(HIList *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIList_somRespondsTo)(HIList *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIList_somIsInstanceOf)(HIList *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIList_somDispatch)(HIList *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIList_somClassDispatch)(HIList *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIList_somCastObj)(HIList *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIList_somResetObj)(HIList *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIList_somPrintSelf)(HIList *somSelf);
typedef void (* SOMLINK somTD_HIList_somDumpSelf)(HIList *somSelf,
long level);
typedef void (* SOMLINK somTD_HIList_somDumpSelfInt)(HIList *somSelf,
long level);
}
#endif /* HIList_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIList
*/
class HIList : public HIAbstractList
{
public:
// HIList::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIList, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIList);
}
// HIList::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitList */
OSStatus InitList(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage)
{
return SOM_ResolveD(this,HIList,HIList,InitList)
(this,ev,identifier,window,bounds,itemStorage);
}
/*
* -- Inherited methods
*/
/* method: InitAbstractList */
OSStatus InitAbstractList(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIList,HIAbstractList,InitAbstractList)
(this,ev,identifier,window,bounds);
}
/* method: AddItems */
OSStatus AddItems(Environment *ev,
HIItemIndex index,
UInt32 numItems)
{
return SOM_ResolveD(this,HIList,HIAbstractList,AddItems)
(this,ev,index,numItems);
}
/* method: DeleteItem */
OSStatus DeleteItem(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIList,HIAbstractList,DeleteItem)
(this,ev,index);
}
/* method: SetItemImage */
OSStatus SetItemImage(Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags)
{
return SOM_ResolveD(this,HIList,HIAbstractList,SetItemImage)
(this,ev,index,imageRef,imageAdoptionFlags);
}
/* method: GetItemImage */
OSStatus GetItemImage(Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemImage)
(this,ev,index,imageRefPtr);
}
/* method: SetItemMark */
OSStatus SetItemMark(Environment *ev,
HIItemIndex index,
UInt16 markChar)
{
return SOM_ResolveD(this,HIList,HIAbstractList,SetItemMark)
(this,ev,index,markChar);
}
/* method: GetItemMark */
UInt16 GetItemMark(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemMark)
(this,ev,index);
}
/* method: SetItemIcon */
OSStatus SetItemIcon(Environment *ev,
HIItemIndex index,
Handle iconSuite)
{
return SOM_ResolveD(this,HIList,HIAbstractList,SetItemIcon)
(this,ev,index,iconSuite);
}
/* method: GetItemIcon */
Handle GetItemIcon(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemIcon)
(this,ev,index);
}
/* method: SetItemChild */
OSStatus SetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList* child)
{
return SOM_ResolveD(this,HIList,HIAbstractList,SetItemChild)
(this,ev,index,child);
}
/* method: GetItemChild */
OSStatus GetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList** child)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemChild)
(this,ev,index,child);
}
/* method: SetItemEnabledState */
OSStatus SetItemEnabledState(Environment *ev,
HIItemIndex index,
HIItemState enableState)
{
return SOM_ResolveD(this,HIList,HIAbstractList,SetItemEnabledState)
(this,ev,index,enableState);
}
/* method: GetItemEnabledState */
HIItemState GetItemEnabledState(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemEnabledState)
(this,ev,index);
}
/* method: SetItemAttributes */
OSStatus SetItemAttributes(Environment *ev,
HIItemIndex index,
HIItemAttributes attributes)
{
return SOM_ResolveD(this,HIList,HIAbstractList,SetItemAttributes)
(this,ev,index,attributes);
}
/* method: GetItemAttributes */
HIItemAttributes GetItemAttributes(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemAttributes)
(this,ev,index);
}
/* method: SetItemRefLabel */
OSStatus SetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIList,HIAbstractList,SetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemRefLabel */
OSStatus GetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemCount */
UInt32 GetItemCount(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemCount)
(this,ev);
}
/* method: SelectItem */
void SelectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIList,HIAbstractList,SelectItem)
(this,ev,index);
}
/* method: DeselectItem */
void DeselectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIList,HIAbstractList,DeselectItem)
(this,ev,index);
}
/* method: GetSelectedItem */
HIItemIndex GetSelectedItem(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetSelectedItem)
(this,ev);
}
/* method: AddItemCollectionItem */
OSStatus AddItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data)
{
return SOM_ResolveD(this,HIList,HIAbstractList,AddItemCollectionItem)
(this,ev,index,tag,dataSize,data);
}
/* method: GetItemCollectionItemData */
OSStatus GetItemCollectionItemData(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data)
{
return SOM_ResolveD(this,HIList,HIAbstractList,GetItemCollectionItemData)
(this,ev,index,tag,dataSizeIn,dataSizeOut,data);
}
/* method: RemoveItemCollectionItem */
OSStatus RemoveItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag)
{
return SOM_ResolveD(this,HIList,HIAbstractList,RemoveItemCollectionItem)
(this,ev,index,tag);
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIList,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIList,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIList,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIList,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIList,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIList,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIList,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIList,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIList,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIList,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIList,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIList,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIList,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIList,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIList,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIList,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIList,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIList,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIList,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIList,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIList,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIList,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIList,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIList,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIList_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIList_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIList_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIList,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIList,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIList,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIList,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIList,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIList,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIList,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIList,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIList,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIList,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIList,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIList,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIList,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIList,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIList,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIList,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIList,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIList,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIList,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIList,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIList_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIList,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIList,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIList_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIList,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIList,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIList,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIList,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIList,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIList,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIList,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIList */
#endif /* SOM_HIList_xh */
#ifndef SOM_HIMultipleSelectionList_xh
#define SOM_HIMultipleSelectionList_xh
class HIMultipleSelectionList;
#define HIMultipleSelectionList_MajorVersion 0
#define HIMultipleSelectionList_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIList_xh
#include <HILists.xh>
#endif
#ifndef HIMultipleSelectionList_API
#define HIMultipleSelectionList_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIMultipleSelectionListCClassData HIMultipleSelectionListClassData
#define HIMultipleSelectionListNewClass(major,minor) somNewVersionedClassReference(HIMultipleSelectionList,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIMultipleSelectionListMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIMultipleSelectionList class object, and the methods it introduces. */
SOMEXTERN struct HIMultipleSelectionListClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitMultipleSelectionList;
somMToken SetItemSelectedState;
somMToken GetItemSelectedState;
somMToken GetSelectedItems;
} SOMDLINK HIMultipleSelectionListClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIMultipleSelectionList_Class_Source) && !defined(SOM_Module_hilists_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIMultipleSelectionListClassData
#endif
#endif
/*
* -- Typedefs for HIMultipleSelectionList Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_InitMultipleSelectionList)(HIMultipleSelectionList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemSelectedState)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
HIItemState selectedState);
typedef HIItemState (* SOMLINK somTD_HIMultipleSelectionList_GetItemSelectedState)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetSelectedItems)(HIMultipleSelectionList *somSelf, Environment *ev,
UInt32 requestedCount,
UInt32* actualCount,
HIItemIndex* indexArray);
/*
* -- Typedefs for Inherited Methods
*/
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_InitList)(HIMultipleSelectionList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_InitAbstractList)(HIMultipleSelectionList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_AddItems)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
UInt32 numItems);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_DeleteItem)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemImage)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetItemImage)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemMark)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
UInt16 markChar);
typedef UInt16 (* SOMLINK somTD_HIMultipleSelectionList_GetItemMark)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemIcon)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
Handle iconSuite);
typedef Handle (* SOMLINK somTD_HIMultipleSelectionList_GetItemIcon)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemChild)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList* child);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetItemChild)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList** child);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemEnabledState)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
HIItemState enableState);
typedef HIItemState (* SOMLINK somTD_HIMultipleSelectionList_GetItemEnabledState)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemAttributes)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
HIItemAttributes attributes);
typedef HIItemAttributes (* SOMLINK somTD_HIMultipleSelectionList_GetItemAttributes)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetItemRefLabel)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetItemRefLabel)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef UInt32 (* SOMLINK somTD_HIMultipleSelectionList_GetItemCount)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SelectItem)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_DeselectItem)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index);
typedef HIItemIndex (* SOMLINK somTD_HIMultipleSelectionList_GetSelectedItem)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_AddItemCollectionItem)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetItemCollectionItemData)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_RemoveItemCollectionItem)(HIMultipleSelectionList *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag);
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIMultipleSelectionList_GetEmbeddingParent)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_InitPanel)(HIMultipleSelectionList *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_RegisterInterestInAppleEvent)(HIMultipleSelectionList *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_HasValidContent)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetDeepCollectionItemData)(HIMultipleSelectionList *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIMultipleSelectionList_GetWindow)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIMultipleSelectionList_GetPort)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_GetRefLabel)(HIMultipleSelectionList *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIMultipleSelectionList_GetCollection)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_Init)(HIMultipleSelectionList *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Terminate)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIMultipleSelectionList_Clone)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Release)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIMultipleSelectionList_GetOwnerCount)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_InitFromAERecord)(HIMultipleSelectionList *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_WriteToAERecord)(HIMultipleSelectionList *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_CalculateOptimalSize)(HIMultipleSelectionList *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_GetBoundingRect)(HIMultipleSelectionList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SetBoundingRect)(HIMultipleSelectionList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SetPosition)(HIMultipleSelectionList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SetSize)(HIMultipleSelectionList *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_GetUpdateRect)(HIMultipleSelectionList *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Enable)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Disable)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_IsEnabled)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Show)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Hide)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_IsVisible)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleAppleEvent)(HIMultipleSelectionList *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleActivate)(HIMultipleSelectionList *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleDeactivate)(HIMultipleSelectionList *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleNavigation)(HIMultipleSelectionList *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleMouseDownInContent)(HIMultipleSelectionList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleMouseMovedInContent)(HIMultipleSelectionList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleMouseStoppedMovingInContent)(HIMultipleSelectionList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_HandleMouseUpInContent)(HIMultipleSelectionList *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_TakeUserInputFocus)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_ReleaseUserInputFocus)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_HasUserInputFocus)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_CanReleaseUserInputFocus)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SetUserInputFocusFlags)(HIMultipleSelectionList *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIMultipleSelectionList_GetUserInputFocusFlags)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_SetTitle)(HIMultipleSelectionList *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetTitle)(HIMultipleSelectionList *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Draw)(HIMultipleSelectionList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Erase)(HIMultipleSelectionList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Invalidate)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIMultipleSelectionList_GetDrawingMode)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SetDrawingMode)(HIMultipleSelectionList *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SetBackgroundPattern)(HIMultipleSelectionList *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIMultipleSelectionList_GetBackgroundPattern)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Cut)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Copy)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Paste)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_Clear)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIMultipleSelectionList_GetClipboardSupportFlags)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_AddStateChangeCallback)(HIMultipleSelectionList *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_RemoveStateChangeCallback)(HIMultipleSelectionList *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_DrawContent)(HIMultipleSelectionList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_EraseContent)(HIMultipleSelectionList *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_TranslatePoint)(HIMultipleSelectionList *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_TranslateRect)(HIMultipleSelectionList *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_StateChanged)(HIMultipleSelectionList *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_SetClipboardSupportFlags)(HIMultipleSelectionList *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIMultipleSelectionList_Verify)(HIMultipleSelectionList *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_somInit)(HIMultipleSelectionList *somSelf);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_somUninit)(HIMultipleSelectionList *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIMultipleSelectionList_somDuplicateReference)(HIMultipleSelectionList *somSelf);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somCompareReference)(HIMultipleSelectionList *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIMultipleSelectionList_somRelease)(HIMultipleSelectionList *somSelf);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_somFree)(HIMultipleSelectionList *somSelf);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somCanDelete)(HIMultipleSelectionList *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIMultipleSelectionList_somGetClass)(HIMultipleSelectionList *somSelf);
typedef corbastring (* SOMLINK somTD_HIMultipleSelectionList_somGetClassName)(HIMultipleSelectionList *somSelf);
typedef long (* SOMLINK somTD_HIMultipleSelectionList_somGetSize)(HIMultipleSelectionList *somSelf);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somIsA)(HIMultipleSelectionList *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somRespondsTo)(HIMultipleSelectionList *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somIsInstanceOf)(HIMultipleSelectionList *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somDispatch)(HIMultipleSelectionList *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somClassDispatch)(HIMultipleSelectionList *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somCastObj)(HIMultipleSelectionList *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIMultipleSelectionList_somResetObj)(HIMultipleSelectionList *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIMultipleSelectionList_somPrintSelf)(HIMultipleSelectionList *somSelf);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_somDumpSelf)(HIMultipleSelectionList *somSelf,
long level);
typedef void (* SOMLINK somTD_HIMultipleSelectionList_somDumpSelfInt)(HIMultipleSelectionList *somSelf,
long level);
}
#endif /* HIMultipleSelectionList_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIMultipleSelectionList
*/
class HIMultipleSelectionList : public HIList
{
public:
// HIMultipleSelectionList::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIMultipleSelectionList, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIMultipleSelectionList);
}
// HIMultipleSelectionList::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitMultipleSelectionList */
OSStatus InitMultipleSelectionList(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIMultipleSelectionList,InitMultipleSelectionList)
(this,ev,identifier,window,bounds,itemStorage);
}
/* method: SetItemSelectedState */
OSStatus SetItemSelectedState(Environment *ev,
HIItemIndex index,
HIItemState selectedState)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIMultipleSelectionList,SetItemSelectedState)
(this,ev,index,selectedState);
}
/* method: GetItemSelectedState */
HIItemState GetItemSelectedState(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIMultipleSelectionList,GetItemSelectedState)
(this,ev,index);
}
/* method: GetSelectedItems */
OSStatus GetSelectedItems(Environment *ev,
UInt32 requestedCount,
UInt32* actualCount,
HIItemIndex* indexArray)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIMultipleSelectionList,GetSelectedItems)
(this,ev,requestedCount,actualCount,indexArray);
}
/*
* -- Inherited methods
*/
/* method: InitList */
OSStatus InitList(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIList,InitList)
(this,ev,identifier,window,bounds,itemStorage);
}
/* method: InitAbstractList */
OSStatus InitAbstractList(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,InitAbstractList)
(this,ev,identifier,window,bounds);
}
/* method: AddItems */
OSStatus AddItems(Environment *ev,
HIItemIndex index,
UInt32 numItems)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,AddItems)
(this,ev,index,numItems);
}
/* method: DeleteItem */
OSStatus DeleteItem(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,DeleteItem)
(this,ev,index);
}
/* method: SetItemImage */
OSStatus SetItemImage(Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SetItemImage)
(this,ev,index,imageRef,imageAdoptionFlags);
}
/* method: GetItemImage */
OSStatus GetItemImage(Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemImage)
(this,ev,index,imageRefPtr);
}
/* method: SetItemMark */
OSStatus SetItemMark(Environment *ev,
HIItemIndex index,
UInt16 markChar)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SetItemMark)
(this,ev,index,markChar);
}
/* method: GetItemMark */
UInt16 GetItemMark(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemMark)
(this,ev,index);
}
/* method: SetItemIcon */
OSStatus SetItemIcon(Environment *ev,
HIItemIndex index,
Handle iconSuite)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SetItemIcon)
(this,ev,index,iconSuite);
}
/* method: GetItemIcon */
Handle GetItemIcon(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemIcon)
(this,ev,index);
}
/* method: SetItemChild */
OSStatus SetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList* child)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SetItemChild)
(this,ev,index,child);
}
/* method: GetItemChild */
OSStatus GetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList** child)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemChild)
(this,ev,index,child);
}
/* method: SetItemEnabledState */
OSStatus SetItemEnabledState(Environment *ev,
HIItemIndex index,
HIItemState enableState)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SetItemEnabledState)
(this,ev,index,enableState);
}
/* method: GetItemEnabledState */
HIItemState GetItemEnabledState(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemEnabledState)
(this,ev,index);
}
/* method: SetItemAttributes */
OSStatus SetItemAttributes(Environment *ev,
HIItemIndex index,
HIItemAttributes attributes)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SetItemAttributes)
(this,ev,index,attributes);
}
/* method: GetItemAttributes */
HIItemAttributes GetItemAttributes(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemAttributes)
(this,ev,index);
}
/* method: SetItemRefLabel */
OSStatus SetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemRefLabel */
OSStatus GetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemCount */
UInt32 GetItemCount(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemCount)
(this,ev);
}
/* method: SelectItem */
void SelectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,SelectItem)
(this,ev,index);
}
/* method: DeselectItem */
void DeselectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,DeselectItem)
(this,ev,index);
}
/* method: GetSelectedItem */
HIItemIndex GetSelectedItem(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetSelectedItem)
(this,ev);
}
/* method: AddItemCollectionItem */
OSStatus AddItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,AddItemCollectionItem)
(this,ev,index,tag,dataSize,data);
}
/* method: GetItemCollectionItemData */
OSStatus GetItemCollectionItemData(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,GetItemCollectionItemData)
(this,ev,index,tag,dataSizeIn,dataSizeOut,data);
}
/* method: RemoveItemCollectionItem */
OSStatus RemoveItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIAbstractList,RemoveItemCollectionItem)
(this,ev,index,tag);
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIMultipleSelectionList_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIMultipleSelectionList_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIMultipleSelectionList_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIMultipleSelectionList,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIMultipleSelectionList,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIMultipleSelectionList_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIMultipleSelectionList_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIMultipleSelectionList,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIMultipleSelectionList */
#endif /* SOM_HIMultipleSelectionList_xh */
#ifndef SOM_HIMenu_xh
#define SOM_HIMenu_xh
class HIMenu;
#define HIMenu_MajorVersion 0
#define HIMenu_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIAbstractList_xh
#include <HILists.xh>
#endif
#ifndef HIMenu_API
#define HIMenu_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIMenuCClassData HIMenuClassData
#define HIMenuNewClass(major,minor) somNewVersionedClassReference(HIMenu,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIMenuMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIMenu class object, and the methods it introduces. */
SOMEXTERN struct HIMenuClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitMenu;
somMToken SetItemAccelerator;
somMToken GetItemAccelerator;
somMToken SetItemAppleEvent;
somMToken GetItemAppleEvent;
somMToken SetNextMenu;
somMToken GetNextMenu;
somMToken GetMenuRef;
somMToken PopDown;
somMethodProc *SetRootHIMenu;
somMethodProc *GetRootHIMenu;
somMethodProc *SetMenuFlashCount;
somMethodProc *GetMenuFlashCount;
} SOMDLINK HIMenuClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIMenu_Class_Source) && !defined(SOM_Module_hilists_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIMenuClassData
#endif
#endif
/*
* -- Typedefs for HIMenu Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIMenu_InitMenu)(HIMenu *somSelf, Environment *ev,
RefLabel* identifier);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemAccelerator)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
UInt16 modifiers,
UInt16 accelerator);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetItemAccelerator)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
UInt16* modifiers,
UInt16* accelerator);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemAppleEvent)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
AppleEvent* theEvent);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetItemAppleEvent)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
AppleEvent* theEvent);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetNextMenu)(HIMenu *somSelf, Environment *ev,
HIMenu* nextMenu);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetNextMenu)(HIMenu *somSelf, Environment *ev,
HIMenu** nextMenu);
typedef void (* SOMLINK somTD_HIMenu_SetRootHIMenu)(Environment *ev,
HIMenu* rootMenuPanel);
typedef HIMenu* (* SOMLINK somTD_HIMenu_GetRootHIMenu)(Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_SetMenuFlashCount)(Environment *ev,
UInt32 count);
typedef UInt32 (* SOMLINK somTD_HIMenu_GetMenuFlashCount)(Environment *ev);
/*
* -- Typedefs for Inherited Methods
*/
typedef OSStatus (* SOMLINK somTD_HIMenu_InitAbstractList)(HIMenu *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIMenu_AddItems)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
UInt32 numItems);
typedef OSStatus (* SOMLINK somTD_HIMenu_DeleteItem)(HIMenu *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemImage)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetItemImage)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemMark)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
UInt16 markChar);
typedef UInt16 (* SOMLINK somTD_HIMenu_GetItemMark)(HIMenu *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemIcon)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
Handle iconSuite);
typedef Handle (* SOMLINK somTD_HIMenu_GetItemIcon)(HIMenu *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemChild)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList* child);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetItemChild)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
HIAbstractList** child);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemEnabledState)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
HIItemState enableState);
typedef HIItemState (* SOMLINK somTD_HIMenu_GetItemEnabledState)(HIMenu *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemAttributes)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
HIItemAttributes attributes);
typedef HIItemAttributes (* SOMLINK somTD_HIMenu_GetItemAttributes)(HIMenu *somSelf, Environment *ev,
HIItemIndex index);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetItemRefLabel)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetItemRefLabel)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
RefLabel* identifier);
typedef UInt32 (* SOMLINK somTD_HIMenu_GetItemCount)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_SelectItem)(HIMenu *somSelf, Environment *ev,
HIItemIndex index);
typedef void (* SOMLINK somTD_HIMenu_DeselectItem)(HIMenu *somSelf, Environment *ev,
HIItemIndex index);
typedef HIItemIndex (* SOMLINK somTD_HIMenu_GetSelectedItem)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_AddItemCollectionItem)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetItemCollectionItemData)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data);
typedef OSStatus (* SOMLINK somTD_HIMenu_RemoveItemCollectionItem)(HIMenu *somSelf, Environment *ev,
HIItemIndex index,
CollectionTag tag);
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIMenu_GetEmbeddingParent)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_InitPanel)(HIMenu *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIMenu_RegisterInterestInAppleEvent)(HIMenu *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIMenu_HasValidContent)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetDeepCollectionItemData)(HIMenu *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIMenu_GetWindow)(HIMenu *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIMenu_GetPort)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_GetRefLabel)(HIMenu *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIMenu_GetCollection)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_Init)(HIMenu *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIMenu_Terminate)(HIMenu *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIMenu_Clone)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Release)(HIMenu *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIMenu_GetOwnerCount)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_InitFromAERecord)(HIMenu *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIMenu_WriteToAERecord)(HIMenu *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIMenu_CalculateOptimalSize)(HIMenu *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIMenu_GetBoundingRect)(HIMenu *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIMenu_SetBoundingRect)(HIMenu *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIMenu_SetPosition)(HIMenu *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIMenu_SetSize)(HIMenu *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIMenu_GetUpdateRect)(HIMenu *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIMenu_Enable)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Disable)(HIMenu *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMenu_IsEnabled)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Show)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Hide)(HIMenu *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMenu_IsVisible)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleAppleEvent)(HIMenu *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleActivate)(HIMenu *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleDeactivate)(HIMenu *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleNavigation)(HIMenu *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleMouseDownInContent)(HIMenu *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleMouseMovedInContent)(HIMenu *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleMouseStoppedMovingInContent)(HIMenu *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_HandleMouseUpInContent)(HIMenu *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIMenu_TakeUserInputFocus)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_ReleaseUserInputFocus)(HIMenu *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMenu_HasUserInputFocus)(HIMenu *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIMenu_CanReleaseUserInputFocus)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_SetUserInputFocusFlags)(HIMenu *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIMenu_GetUserInputFocusFlags)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_SetTitle)(HIMenu *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetTitle)(HIMenu *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIMenu_Draw)(HIMenu *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIMenu_Erase)(HIMenu *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIMenu_Invalidate)(HIMenu *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIMenu_GetDrawingMode)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_SetDrawingMode)(HIMenu *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIMenu_SetBackgroundPattern)(HIMenu *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIMenu_GetBackgroundPattern)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Cut)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Copy)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Paste)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_Clear)(HIMenu *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIMenu_GetClipboardSupportFlags)(HIMenu *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIMenu_AddStateChangeCallback)(HIMenu *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIMenu_RemoveStateChangeCallback)(HIMenu *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIMenu_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIMenu_DrawContent)(HIMenu *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIMenu_EraseContent)(HIMenu *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIMenu_TranslatePoint)(HIMenu *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIMenu_TranslateRect)(HIMenu *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIMenu_StateChanged)(HIMenu *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIMenu_SetClipboardSupportFlags)(HIMenu *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIMenu_Verify)(HIMenu *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIMenu_somInit)(HIMenu *somSelf);
typedef void (* SOMLINK somTD_HIMenu_somUninit)(HIMenu *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIMenu_somDuplicateReference)(HIMenu *somSelf);
typedef boolean (* SOMLINK somTD_HIMenu_somCompareReference)(HIMenu *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIMenu_somRelease)(HIMenu *somSelf);
typedef void (* SOMLINK somTD_HIMenu_somFree)(HIMenu *somSelf);
typedef boolean (* SOMLINK somTD_HIMenu_somCanDelete)(HIMenu *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIMenu_somGetClass)(HIMenu *somSelf);
typedef corbastring (* SOMLINK somTD_HIMenu_somGetClassName)(HIMenu *somSelf);
typedef long (* SOMLINK somTD_HIMenu_somGetSize)(HIMenu *somSelf);
typedef boolean (* SOMLINK somTD_HIMenu_somIsA)(HIMenu *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIMenu_somRespondsTo)(HIMenu *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIMenu_somIsInstanceOf)(HIMenu *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIMenu_somDispatch)(HIMenu *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIMenu_somClassDispatch)(HIMenu *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIMenu_somCastObj)(HIMenu *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIMenu_somResetObj)(HIMenu *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIMenu_somPrintSelf)(HIMenu *somSelf);
typedef void (* SOMLINK somTD_HIMenu_somDumpSelf)(HIMenu *somSelf,
long level);
typedef void (* SOMLINK somTD_HIMenu_somDumpSelfInt)(HIMenu *somSelf,
long level);
}
#endif /* HIMenu_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIMenu
*/
class HIMenu : public HIAbstractList
{
public:
// HIMenu::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIMenu, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIMenu);
}
// HIMenu::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitMenu */
OSStatus InitMenu(Environment *ev,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIMenu,HIMenu,InitMenu)
(this,ev,identifier);
}
/* method: SetItemAccelerator */
OSStatus SetItemAccelerator(Environment *ev,
HIItemIndex index,
UInt16 modifiers,
UInt16 accelerator)
{
return SOM_ResolveD(this,HIMenu,HIMenu,SetItemAccelerator)
(this,ev,index,modifiers,accelerator);
}
/* method: GetItemAccelerator */
OSStatus GetItemAccelerator(Environment *ev,
HIItemIndex index,
UInt16* modifiers,
UInt16* accelerator)
{
return SOM_ResolveD(this,HIMenu,HIMenu,GetItemAccelerator)
(this,ev,index,modifiers,accelerator);
}
/* method: SetItemAppleEvent */
OSStatus SetItemAppleEvent(Environment *ev,
HIItemIndex index,
AppleEvent* theEvent)
{
return SOM_ResolveD(this,HIMenu,HIMenu,SetItemAppleEvent)
(this,ev,index,theEvent);
}
/* method: GetItemAppleEvent */
OSStatus GetItemAppleEvent(Environment *ev,
HIItemIndex index,
AppleEvent* theEvent)
{
return SOM_ResolveD(this,HIMenu,HIMenu,GetItemAppleEvent)
(this,ev,index,theEvent);
}
/* method: SetNextMenu */
OSStatus SetNextMenu(Environment *ev,
HIMenu* nextMenu)
{
return SOM_ResolveD(this,HIMenu,HIMenu,SetNextMenu)
(this,ev,nextMenu);
}
/* method: GetNextMenu */
OSStatus GetNextMenu(Environment *ev,
HIMenu** nextMenu)
{
return SOM_ResolveD(this,HIMenu,HIMenu,GetNextMenu)
(this,ev,nextMenu);
}
/* noself procedure: SetRootHIMenu */
static void SetRootHIMenu(Environment *ev,
HIMenu* rootMenuPanel)
{
((somTD_HIMenu_SetRootHIMenu)HIMenuClassData.SetRootHIMenu)
(ev,rootMenuPanel);
}
/* noself procedure: GetRootHIMenu */
static HIMenu* GetRootHIMenu(Environment *ev)
{
return ((somTD_HIMenu_GetRootHIMenu)HIMenuClassData.GetRootHIMenu)
( ev);
}
/* noself procedure: SetMenuFlashCount */
static void SetMenuFlashCount(Environment *ev,
UInt32 count)
{
((somTD_HIMenu_SetMenuFlashCount)HIMenuClassData.SetMenuFlashCount)
(ev,count);
}
/* noself procedure: GetMenuFlashCount */
static UInt32 GetMenuFlashCount(Environment *ev)
{
return ((somTD_HIMenu_GetMenuFlashCount)HIMenuClassData.GetMenuFlashCount)
( ev);
}
/*
* -- Inherited methods
*/
/* method: InitAbstractList */
OSStatus InitAbstractList(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,InitAbstractList)
(this,ev,identifier,window,bounds);
}
/* method: AddItems */
OSStatus AddItems(Environment *ev,
HIItemIndex index,
UInt32 numItems)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,AddItems)
(this,ev,index,numItems);
}
/* method: DeleteItem */
OSStatus DeleteItem(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,DeleteItem)
(this,ev,index);
}
/* method: SetItemImage */
OSStatus SetItemImage(Environment *ev,
HIItemIndex index,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,SetItemImage)
(this,ev,index,imageRef,imageAdoptionFlags);
}
/* method: GetItemImage */
OSStatus GetItemImage(Environment *ev,
HIItemIndex index,
HIImageRef* imageRefPtr)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemImage)
(this,ev,index,imageRefPtr);
}
/* method: SetItemMark */
OSStatus SetItemMark(Environment *ev,
HIItemIndex index,
UInt16 markChar)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,SetItemMark)
(this,ev,index,markChar);
}
/* method: GetItemMark */
UInt16 GetItemMark(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemMark)
(this,ev,index);
}
/* method: SetItemIcon */
OSStatus SetItemIcon(Environment *ev,
HIItemIndex index,
Handle iconSuite)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,SetItemIcon)
(this,ev,index,iconSuite);
}
/* method: GetItemIcon */
Handle GetItemIcon(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemIcon)
(this,ev,index);
}
/* method: SetItemChild */
OSStatus SetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList* child)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,SetItemChild)
(this,ev,index,child);
}
/* method: GetItemChild */
OSStatus GetItemChild(Environment *ev,
HIItemIndex index,
HIAbstractList** child)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemChild)
(this,ev,index,child);
}
/* method: SetItemEnabledState */
OSStatus SetItemEnabledState(Environment *ev,
HIItemIndex index,
HIItemState enableState)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,SetItemEnabledState)
(this,ev,index,enableState);
}
/* method: GetItemEnabledState */
HIItemState GetItemEnabledState(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemEnabledState)
(this,ev,index);
}
/* method: SetItemAttributes */
OSStatus SetItemAttributes(Environment *ev,
HIItemIndex index,
HIItemAttributes attributes)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,SetItemAttributes)
(this,ev,index,attributes);
}
/* method: GetItemAttributes */
HIItemAttributes GetItemAttributes(Environment *ev,
HIItemIndex index)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemAttributes)
(this,ev,index);
}
/* method: SetItemRefLabel */
OSStatus SetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,SetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemRefLabel */
OSStatus GetItemRefLabel(Environment *ev,
HIItemIndex index,
RefLabel* identifier)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemRefLabel)
(this,ev,index,identifier);
}
/* method: GetItemCount */
UInt32 GetItemCount(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemCount)
(this,ev);
}
/* method: SelectItem */
void SelectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIMenu,HIAbstractList,SelectItem)
(this,ev,index);
}
/* method: DeselectItem */
void DeselectItem(Environment *ev,
HIItemIndex index)
{
SOM_ResolveD(this,HIMenu,HIAbstractList,DeselectItem)
(this,ev,index);
}
/* method: GetSelectedItem */
HIItemIndex GetSelectedItem(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetSelectedItem)
(this,ev);
}
/* method: AddItemCollectionItem */
OSStatus AddItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSize,
void* data)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,AddItemCollectionItem)
(this,ev,index,tag,dataSize,data);
}
/* method: GetItemCollectionItemData */
OSStatus GetItemCollectionItemData(Environment *ev,
HIItemIndex index,
CollectionTag tag,
UInt32 dataSizeIn,
UInt32* dataSizeOut,
void* data)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,GetItemCollectionItemData)
(this,ev,index,tag,dataSizeIn,dataSizeOut,data);
}
/* method: RemoveItemCollectionItem */
OSStatus RemoveItemCollectionItem(Environment *ev,
HIItemIndex index,
CollectionTag tag)
{
return SOM_ResolveD(this,HIMenu,HIAbstractList,RemoveItemCollectionItem)
(this,ev,index,tag);
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIMenu,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIMenu,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIMenu,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIMenu,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIMenu,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIMenu,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIMenu,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIMenu,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIMenu,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIMenu,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIMenu,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIMenu,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIMenu,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIMenu,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIMenu,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIMenu,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIMenu,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIMenu,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIMenu,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIMenu,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIMenu,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIMenu,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIMenu_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIMenu_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIMenu_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIMenu,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIMenu,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIMenu,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIMenu,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIMenu,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIMenu,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIMenu,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIMenu,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIMenu,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIMenu,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIMenu,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIMenu,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIMenu,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIMenu,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIMenu_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIMenu,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIMenu,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIMenu_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIMenu,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIMenu,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIMenu,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIMenu,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIMenu,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIMenu,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIMenu */
#endif /* SOM_HIMenu_xh */